package fr.jade.service.fm.reactor;

import java.util.Map;
import java.util.Set;

import org.objectweb.fractal.api.Component;

import fr.jade.service.fm.deployment.DeploymentTask;
import fr.jade.service.fm.deployment.NewComponentTask;
import fr.jade.util.JadeException;

public interface Policy {

  public Set<DeploymentTask> execute(Map<Component, NewComponentTask> context, Set<Component> failedCmps_M, Set<Component> impactedCmps_M, Component newNode_M)throws JadeException;
  public int getPriorityLevel();
}
